/***************************ibrowserupdater.h******************************/
/*****************************************************************************/
/*******************Browsers Daily Build Updater************************/
/************Copyright (C) 2010-2011  Gianluigi Biancucci*************/
/*****************************************************************************/
/*****This is free software, and you are welcome to redistribute it****/
/*****and / or modify underthe terms of GPLV2 License.**************/
/*****This program comes with ABSOLUTELY NO WARRANTY*****/
/*****************************************************************************/

#ifndef IBROWSERUPDATER_H
#define IBROWSERUPDATER_H
#include <QObject>

class IBrowserUpdater : public QObject
{
    Q_OBJECT

public:
    virtual void setArch(QString arch) = 0;
    virtual bool getLatestVersion(QString * lastVer)=0;
    virtual bool getInstalledVersion(QString * installedVer)=0;
    virtual bool download(QString version, QString * exePath)=0;
    virtual QString getBrowserName()=0;
    virtual QString getLastError()=0;
};

#endif // IBROWSERUPDATER_H
